package com.kaichaohulian.baocms.adapter;

import android.view.View;
import android.widget.LinearLayout;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.kaichaohulian.baocms.R;

import java.util.List;

/**
 * 简单的好友Adapter实现
 * Created by Administrator on 2016/12/13 0013.
 */
public class SearchPopAdapter extends BaseQuickAdapter<String, BaseViewHolder> implements View.OnClickListener{
    LinearLayout item_pop;

    public SearchPopAdapter(List<String> data) {

        super(R.layout.item_pop_search, data);

    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.text_name, item);
        item_pop=helper.getView(R.id.item_pop);
        helper.addOnClickListener(R.id.item_pop);

    }


    @Override
    public void onClick(View v) {

    }
}
